package com.zgy.aop;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class txt {
    public static void main(String[] args) {
//        AnnotationConfigApplicationContext annotationConfigApplicationContext =
//                new AnnotationConfigApplicationContext(Appconfig.class);
//        annotationConfigApplicationContext.getBean(IndexDao.class).query2();
//        annotationConfigApplicationContext.getBean(IndexDao.class).query();
    }
}
